<template>
    <div>
        <el-container>
            <el-header>
                <Header/>
            </el-header>
            <el-container>
                <el-aside width="200px">
                    <Aside/>
                </el-aside>
                <el-main>
                    <!-- 路由是视图 -->
                    <router-view/>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>
<script>
import Aside from "@/components/aside.vue";
import Header from "@/components/header.vue";

export default {
    components:{
        Aside,Header
    }
}
</script>

<style scoped>
.el-header, .el-footer {
    background-color: #B3C0D1;
    color: #333;
    text-align: center;
    line-height: 60px;
  }
  .el-main {
    background-color: #E9EEF3;
    color: #333;
   
    
  }
    .el-aside {
   background-color: #545C64;
    color: #333;
    text-align: center;
    line-height: 200px;
     height: 1000px;
  }
</style>